package com.example.sources.annotation;

import com.example.sources.myenum.RequestMethod;

import java.lang.annotation.*;

/**
 * Created by zhu on 2016/5/9.
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MyRequestMapping {
    String path() default "";
    RequestMethod[] method() default {};
}
